package com.twetec.cms.model.po.statistic;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.twetec.cms.model.po.base.BasePO;

import java.util.Date;

/**
 * <p>
 * 文章访问量统计
 * </p>
 *
 * @author ZCZ
 * @since 2022-03-05
 */
@TableName("STATISTIC_ARTICLE_PAGE_VIEWS")
public class StatisticArticlePageViewsPO extends BasePO {

    private static final long serialVersionUID=1L;

    /**
     * 站点id
     */
    @TableField("SITE_ID")
    private Long siteId;

    /**
     * 栏目id
     */
    @TableField("COLUMN_ID")
    private Long columnId;

    /**
     * 文章访问量统计
     */
    @TableField("ARTICLE_VIEWS_COUNT")
    private Long articleViewsCount;

    /**
     * 日期
     */
    @TableField("GMT_DATE")
    private Date gmtDate;

    /**
     * 文章id
     */
    @TableField("ARTICLE_ID")
    private Long articleId;


    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public Long getColumnId() {
        return columnId;
    }

    public void setColumnId(Long columnId) {
        this.columnId = columnId;
    }

    public Long getArticleViewsCount() {
        return articleViewsCount;
    }

    public void setArticleViewsCount(Long articleViewsCount) {
        this.articleViewsCount = articleViewsCount;
    }

    public Date getGmtDate() {
        return gmtDate;
    }

    public void setGmtDate(Date gmtDate) {
        this.gmtDate = gmtDate;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    @Override
    public String toString() {
        return "StatisticArticlePageViewsPO{" +
        "siteId=" + siteId +
        ", columnId=" + columnId +
        ", articleViewsCount=" + articleViewsCount +
        ", gmtDate=" + gmtDate +
        ", articleId=" + articleId +
        "}";
    }
}
